package com.gitee.srurl.core.mapper;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gitee.srurl.core.domain.SusUserDomain;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author zxw
 * @date 2023/5/2 22:28
 */
@Mapper
public interface SusUserMapper extends BaseMapper<SusUserDomain> {


    IPage<SusUserDomain> queryPage(@Param("page") Page<Object> page,
                                   @Param("ew") LambdaQueryWrapper<SusUserDomain> queryWrapper);

    SusUserDomain selectInfoById(Long userId);
}
